package com.integralPerformance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.integralPerformance.pojo.entity.PointsCriteria;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.integralPerformance.pojo.query.PointsCriteriaQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author admin
* @description 针对表【points_criteria(业绩评分标准信息)】的数据库操作Mapper
* @createDate 2024-03-10 22:25:58
* @Entity com.integralPerformance.pojo.entity.PointsCriteria
*/
@Mapper
public interface PointsCriteriaMapper extends BaseMapper<PointsCriteria> {

    List<String> getType();

    Page<PointsCriteria> getPointsCriteria(Page<PointsCriteria> page,@Param("qu") PointsCriteriaQuery pointsCriteriaQuery);

    List<String> getLevelByType(@Param("type") String type);

    List<String> getCategory(@Param("type")String type, @Param("level") String level);

    List<String> getGainLevel(@Param("type")String type, @Param("level")String level, @Param("category")String category);
}




